var ScalaJS = require("./scalajs.webpack.config");
var merge = require("webpack-merge");

var WebApp = merge(ScalaJS, {
    "module": {
        "rules": [
            {
                "test": /\.css$/,
                "use": [
                    {
                        loader: "style-loader"
                    },
                    {
                        loader: "css-loader",
                        options: {
                            modules: true
                        }
                    },

                ]
            },
            {
                test: /\.(ttf|eot|woff|png|jpg|glb|svg|gif)$/,
                use: 'file-loader'
            },
        ]
    }
})

module.exports = WebApp